from Tkinter import *

root = Frame(Tk())
root.pack(anchor=CENTER);


for i in range( 20 ):
	frame = Frame(root)
	frame.pack(side=BOTTOM)
	for j in range( 10 ):
		w = Button(frame, text="Hello, world!")
		w.pack(side=LEFT)

root.mainloop()